package base.map.findPath
{
	import flash.events.EventDispatcher;

	/**
	 * 地图中最小正方形单元格
	 * @author devin
	 * 
	 */	
	public class FindPathCell extends EventDispatcher
	{
		/**
		 *所在行 
		 */		
		protected var _y:int;
		/**
		 *所在列 
		 */		
		protected var _x:int;
		/**
		 *是否为可行走 
		 */		
		protected var _walkable:Boolean=true;
		/**
		 *单元高 
		 */		
		protected var _height:int;
		
		protected var _bottom:int;
		
		public function FindPathCell()
		{
		}

		/**
		 *所在行 
		 */
		public function get y():int
		{
			return _y;
		}

		/**
		 * @private
		 */
		public function set y(value:int):void
		{
			_y = value;
		}

		/**
		 *所在列 
		 */
		public function get x():int
		{
			return _x;
		}

		/**
		 * @private
		 */
		public function set x(value:int):void
		{
			_x = value;
		}

		/**
		 *是否为可行走 
		 */
		public function get walkable():Boolean
		{
			return _walkable;
		}

		/**
		 * @private
		 */
		public function set walkable(value:Boolean):void
		{
			_walkable = value;
		}

		/**
		 *单元高 
		 */
		public function get height():int
		{
			return _height;
		}

		/**
		 * @private
		 */
		public function set height(value:int):void
		{
			_height = value;
		}

		public function get bottom():int
		{
			return _bottom;
		}
		
		public function set bottom(value:int):void
		{
			_bottom = value;
		}
		
		public function dispose():void
		{
			
		}
	}
}